package com.example.client;

import com.example.util.iotDao;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import java.io.IOException;

public class Client extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(Client.class.getResource("chooseView.fxml"));
        stage.getIcons().add(new Image(Client.class.getResource("logo.png").toExternalForm()));
        Scene scene = new Scene(fxmlLoader.load(), 500, 370);
        stage.setTitle("物联网数据中心--地点选择");
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }


}